﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Konstaller
{
    public class TextBox
    {

        //Private Field
        private string txt;
        private int w = 10;

        /// <summary>
        /// Get or Set Text in Box
        /// </summary>
        public string Text
        {
            get { return txt; }
            set { txt = value; }
        }



        /// <summary>
        /// Draw Method
        /// </summary>
        /// <param name="x">Set X Position</param>
        /// <param name="y">Set Y Position</param>
        public void Draw(int x, int y)
        {
            Console.SetCursorPosition(x, y);
            Console.BackgroundColor = ConsoleColor.White;
            Console.ForegroundColor = ConsoleColor.White;

            for (int i = 0; i < w; i++)
            {
                Console.Write(" ");
            }


        }
    }
}
